<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>login</title>
        
      	<!--引入jquery-->
		<script src="${pageContext.request.contextPath}/js/jquery-3.3.1.js" type="text/javascript" charset="utf-8"></script>
		<!--引入bootsrap-->
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/bootstrap.css"/>
		<script src="${pageContext.request.contextPath}/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
	
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/login.css"/>
    </head>
    <body>
    <div class="container logo">
		<img src="${pageContext.request.contextPath}/img/user/Logo.png"/>
	</div>
	<div class="login">				
		<div class="container main">				
			<div class="pull-right login-main">
				<h3>会员登录</h3>					
				<form class="form-horizontal" action="${pageContext.request.contextPath }/UserServlet?action=login" method="post">
				  <div class="form-group">
				    <label for="inputEmail2" class="col-sm-2 control-label item-title">账号</label>
				    <div class="col-sm-8">
				      <input type="text" class="form-control" id="pname" name="pname" placeholder="请输入用户名" value="${pname}">
				    </div>
				  </div>
				  <div class="form-group">
				    <label for="inputPassword2" class="col-sm-2 control-label  item-title">密码</label>
				    <div class="col-sm-8">
				      <input type="password" name="ppassword" class="form-control" placeholder="请输入密码">
				    </div>
				  </div>
				  <div class="form-group">
				    <div class="col-sm-10">
				      <button type="submit" class="btn btn-primary btn-lg btn-block btn-danger">登录</button>
				    </div>
				  </div>
				  
				    <div class="col-sm-8 checkbox">
				        <label>
				          <input type="checkbox" name="autologin" value="auto"> 自动登录
				        </label>
				        <br>
				    </div>
				</form>					
			</div>				
		</div>			
	</div>
	
	<jsp:include page="/user/footed.jsp"></jsp:include>
 	</body>
</html>